<!DOCTYPE html>
<html>
    <head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="renderer" content="webkit">
	<title><{$system_name}></title>
	<meta name="keywords" content="">
	<meta name="description" content="">
	<!--[if lt IE 9]>
	<meta http-equiv="refresh" content="0;ie.html"/>
	<![endif]-->
	<link rel="shortcut icon" href="__PUBLIC__/favicon.ico">
	<link href="__PUBLIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link href="__PUBLIC__/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
	<link href="__PUBLIC__/css/animate.css" rel="stylesheet">
	<link href="__PUBLIC__/css/style.css?v=4.1.0" rel="stylesheet">
    </head>
    <body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
	<div id="wrapper">
	    <!--左侧导航开始-->
	    <nav class="navbar-default navbar-static-side" role="navigation">
		<div class="nav-close"><i class="fa fa-times-circle"></i>
		</div>
		<div class="sidebar-collapse">
		    <ul class="nav" id="side-menu">
			<li class="nav-header">
			    <div class="dropdown profile-element">
				<a data-toggle="dropdown" class="dropdown-toggle" href="javascript:void(0);">
				    <span class="clear">
					<span class="block m-t-xs" style="font-size:20px;">
					    <i class="fa fa-wechat"></i>
					    <strong class="font-bold"><{$system_name}></strong>
					</span>
				    </span>
				</a>
			    </div>
			    <div class="logo-element">
				<i class="fa fa-wechat"></i><{$system_name_abbr}>
			    </div>
			</li>
			<li class="active">
			<if condition="$app_code eq ''">
			    <a class="J_menuItem" href="<{:U('Index/Index/hometotal','','shtml')}>">
				<i class="fa fa-home"></i>
				<span class="nav-label">主页</span>
			    </a>
			    <else />
			    <a class="J_menuItem" href="<{:U('Index/Index/home','','shtml')}>">
				<i class="fa fa-home"></i>
				<span class="nav-label">主页</span>
			    </a>
			</if>
			</li>
			<if condition="$login_type eq 2">
			    <li>
				<a href="javascript:void(0);"><i class="fa fa-user"></i> <span class="nav-label">用户管理 </span><span class="fa arrow"></span></a>
				<ul class="nav nav-second-level">
				    <li><a class="J_menuItem" href="__MODULE__/User/userlist">全部用户列表</a>
				    </li>		
				</ul>
			    </li>
			    <li>
				<a href="javascript:void(0);"><i class="fa fa-bar-chart"></i> <span class="nav-label">统计管理 </span><span class="fa arrow"></span></a>
				<ul class="nav nav-second-level">
				    <li><a class="J_menuItem" href="__MODULE__/Statistics/statisticslist/type/1">日增长统计</a>
				    <li><a class="J_menuItem" href="__MODULE__/Statistics/statisticslist/type/2">周增长统计</a>
				    <li><a class="J_menuItem" href="__MODULE__/Statistics/statisticslist/type/3">月增长统计</a>
				    <li><a class="J_menuItem" href="__MODULE__/Statistics/statisticslist/type/4">年增长统计</a>
				    </li>
				</ul>
			    </li>
			    <li>
				<a href="javascript:void(0);"><i class="fa fa-rmb"></i> <span class="nav-label">财务管理 </span><span class="fa arrow"></span></a>
				<ul class="nav nav-second-level">
				    <li class="active"><a class="J_menuItem" href="__MODULE__/Finance/balanceloglist">收支明细列表</a>
				    <li class="active"><a class="J_menuItem" href="__MODULE__/Finance/withdrawlist">提现记录列表</a>
				    <li class="active"><a class="J_menuItem" href="__MODULE__/Finance/rechargelist">充值记录列表</a>
				    </li>
				</ul>
			    </li>
			    <else />
			    <volist name="data" id="vo">
				<li>
				    <a href="javascript:void(0);"><i class="<{$vo.icon}>"></i> <span class="nav-label"><{$vo.name}> </span><span class="fa arrow"></span></a>
				    <ul class="nav nav-second-level">
					<volist name="vo.data" id="vo_son">
					    <li><a class="J_menuItem" href="__MODULE__/<{$vo_son.url}>"><{$vo_son.name}></a>
					    </li>
					</volist>
				    </ul>
				</li>
			    </volist>
			</if>
		    </ul>
		</div>
	    </nav>
	    <!--左侧导航结束-->
	    <!--右侧部分开始-->
	    <div id="page-wrapper" class="gray-bg dashbard-1">
		<div class="row border-bottom">
		    <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0; position: relative;">
			<div class="col-sm-11" style="position: absolute; top:-20px; left: 60px; z-index: 1;">
			    <if condition="$app_code eq ''">
				<if condition="$show_warning_box eq '1'">
				    <div class="alert alert-danger alert-dismissable" style="margin: 20px 0 0 0; padding: 14px 30px; text-align: center; font-size: 15px;">
					<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
					<i class="fa fa fa-warning"></i>&nbsp;号码库中已没有可使用的号码。已影响系统正常使用，请<a class="J_menuItem alert-link" href="__MODULE__/Number/numberadd">更新</a>号码库。
				    </div>
				    <elseif condition="$show_warning_box eq '2'" />
				    <div class="alert alert-danger alert-dismissable" style="margin: 20px 0 0 0; padding: 14px 30px; text-align: center; font-size: 15px;">
					<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
					<i class="fa fa fa-warning"></i>&nbsp;号码库中可使用的号码已少于<{$number_warning_count}>个。为避免影响系统正常使用，请及时<a class="J_menuItem alert-link" href="__MODULE__/Number/numberadd">更新</a>号码库。
				    </div>
				</if>
			    </if>
			</div>
			<div class="navbar-header">
			    <a class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i class="fa fa-bars"></i> </a>
			</div>
			<ul class="nav navbar-top-links navbar-right">
			    <li class="dropdown">
				<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
				    <i class="fa fa-user"></i>
				</a>
				<ul class="dropdown-menu dropdown-messages">
				    <li class="m-t-xs">
					<div class="dropdown-messages-box">
					    <div class="media-body">
						<strong><{$admin_name_value}></strong>
						<br>
						<small class="text-muted"><{$admin_login_time}></small>
					    </div>
					</div>
				    </li>
				    <li class="divider"></li>
				    <li>
					<div class="text-center link-block">
					    <if condition="$login_type eq 2">
						<a class="J_menuItem" href="<{:U('Index/User/userdetail','','shtml')}>" id="btnmodifypassword">
						    <i class="fa fa-user"></i> <strong>我的账号</strong>
						</a>
						<else />
						<a class="J_menuItem" href="<{:U('Index/Index/admindetail','','shtml')}>" id="btnmodifypassword">
						    <i class="fa fa-user"></i> <strong>我的账号</strong>
						</a>
					    </if>
					</div>
				    </li>
				    <if condition="$login_type eq 2">
					<li class="divider"></li>
					<li>
					    <div class="text-center link-block">
						<a class="J_menuItem" href="__MODULE__/Finance/balanceloglist/uid/<{$admin_uid}>" id="btnmodifypassword">
						    <i class="fa fa-rmb"></i> <strong>我的财务</strong>
						</a>
					    </div>
					</li>
				    </if>
				    <li class="divider"></li>
				    <li>
					<div class="text-center link-block">
					    <a class="J_menuItem" href="<{:U('Index/Login/modifypassword','','shtml')}>" id="btnmodifypassword">
						<i class="fa fa-exchange"></i> <strong>修改密码</strong>
					    </a>
					</div>
				    </li>
				    <li class="divider"></li>
				    <li>
					<div class="text-center link-block">
					    <a class="" href="javascript:void(0);" id="btnexit">
						<i class="fa fa-power-off"></i> <strong>退出登录</strong>
					    </a>
					</div>
				    </li>
				</ul>
			    </li>
			</ul>
		    </nav>
		</div>
		<div class="row J_mainContent" id="content-main">
		    <if condition="$app_code eq ''">
			<iframe id="J_iframe" width="100%" height="100%" src="<{:U('Index/Index/hometotal','','shtml')}>" frameborder="0"
				data-id="<{:U('Index/Index/hometotal','','shtml')}>" seamless></iframe>
			<else />
			<iframe id="J_iframe" width="100%" height="100%" src="<{:U('Index/Index/home','','shtml')}>" frameborder="0"
				data-id="<{:U('Index/Index/home','','shtml')}>" seamless></iframe>
		    </if>
		</div>
	    </div>
	    <!--右侧部分结束-->
	</div>
	<!-- 全局js -->
	<script src="__PUBLIC__/js/jquery.min.js?v=2.1.4"></script>
	<script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="__PUBLIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="__PUBLIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="__PUBLIC__/js/plugins/layer/layer.min.js"></script>
	<!-- 自定义js -->
	<script src="__PUBLIC__/js/hAdmin.js?v=4.1.0"></script>
	<script type="text/javascript" src="__PUBLIC__/js/index.js"></script>
	<!-- 第三方插件 -->
	<!--<script src="js/plugins/pace/pace.min.js"></script>-->
	<script type="text/javascript">
	    $(document).ready(function () {
		var logoutsubmiturl = "<{:U('Index/Login/logoutsubmit','','shtml')}>";
		$("#btnmodifypassword").click(function () {
		    $(this).parents(".dropdown").removeClass("open");
		});
		$("#btnexit").click(function () {
		    layer.confirm('确定退出系统吗？', {btn: ['是', '否'], icon: 0}, function () {
			window.location.href = logoutsubmiturl;
		    });
		});
	    });
	</script>

    </body>
</html>
